"""
   app 是注册module模块的 是用于与请求比对
"""
apps = [
    'inventory',
]

"""
    database 数据库配置 
"""
DATABASE = {
    # "host": "192.168.2.10",  # 本地
    "host": "rm-uf69r38i6rt1m8xg4bo.mysql.rds.aliyuncs.com",  # 线上
    "port": 3306,
    "user": "oa_prod",
    "password": "h-2-XGskxoIneT!JLzsjZA",
    "database": "bojem_microservice_goods",
    "charset": "utf8"
}

"""
        mongoDB  配置
"""
MONGODB = {
    # "host": "192.168.1.243", # 本地
    "host": "47.103.78.24",  # 线上
    "port": 27000
}

"""
        consul  配置
"""
CONSUL = {
    #  "host": "192.168.3.114", # 本地
    "host": "172.19.47.33",  # 线上1
    "port": 8500,
    "register_name": "warehouseInventory",
    "service_id": "warehouseInventory",
    # "register_host": "192.168.1.243", # 本地
    "register_host": "47.103.78.24",  # 线上

}

"""
        rabbitmq  配置
"""
MQ_CONFIG = {
    # "host": "192.168.1.240",  # 本地
    "host": "47.103.78.24",  # 线上
    "port": 5672,
    "vHost": "/",
    "user": "root",
    "passWord": "123456",
    "exchange": "ex_change_default",
    "exchange_type": "direct"
}
